<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="">
    <div style="padding-left: 750px">
        <span id="g1">一班</span>
        <span id="g2">二班</span>
        <span id="g3">三班</span>
    </div>
    <table>
        {% for i in tslist %}
            
        {% endfor %}
    </table>
</form>
</body>
</html>